import { createVfm } from 'vue-final-modal'

/**
 * vueFinalModal 加载插件
 * https://v3.vue-final-modal.org/
 * https://vue-final-modal.org/?utm_source=nuxt.com&utm_medium=aside-module&utm_campaign=nuxt.com
 */
export default defineNuxtPlugin((nuxtApp) => {
    const vfm = createVfm() as any
    nuxtApp.vueApp.use(vfm)
})